package com.jyw.business.de.domain.dto.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("工单转任务请求实体")
@Data
public class ObsTaskAddDto {

    @ApiModelProperty("工单号")
    @NotEmpty(message = "工单号不能为空")
    private String orderNum;

    @ApiModelProperty("任务数据")
    private TaskAddDto taskAdd;
}
